
using AutoMapper;
using Yozeev.SystemConfig.BasicConfig;
using Yozeev.SystemConfig.BasicConfig.Dtos;

namespace Yozeev.SystemConfig.BasicConfig.Mapper
{

	/// <summary>
    /// 配置DateDictionary的AutoMapper
    /// </summary>
	internal static class DateDictionaryMapper
    {
        public static void CreateMappings(IMapperConfigurationExpression configuration)
        {
            configuration.CreateMap <DateDictionary,DateDictionaryListDto>();
            configuration.CreateMap <DateDictionaryListDto,DateDictionary>();

            configuration.CreateMap <DateDictionaryEditDto,DateDictionary>();
            configuration.CreateMap <DateDictionary,DateDictionaryEditDto>();

        }
	}
}
